<template>
	<view class="content">
		<view class="header">
			<view class="header-title">
				评论
			</view>
			<view class="header-comment-num" style="margin-right: 190px;">
				3990 条
			</view>
			
			<view class="count-number">
				1223 赞
			</view>
		</view>

		<view class="main" v-for="item in mainData">
		<view class="mmain-left">
			<view class="user-icon">
				<image src="/static/user.png" mode="" style="width: 57upx;height: 57upx;"></image>
			</view>
		</view>
		<view class="main-right">
			<view class="main-rheader">
				<view class="rheader-title">
					人间高圆圆
				</view>
				<view class="rheader-comment">
					<image src="/static/g18.png" mode="" style="width: 25upx;height: 23upx;"></image>
					<text class="count-number ">1223</text>
				</view>
				<view class="">
					<image src="../../static/g19.png" mode="" style="width: 25upx;height: 24upx;"></image>
					<text class="count-number">赞</text>
				</view>
		
			</view>
			<view class="main-body">
				好棒!
			</view>
			<view class="main-footer">
				<view class="main-footer-reply">
					回复 >
				</view>
				<view class="main-footer-time">
					1小时前
				</view>
				<view class="main-footer-icon">
					<image src="/static/g11.png" mode="" style="width: 20upx;height: 20upx; margin-right: 10upx;"></image>
					举报
				</view>
			</view>
		</view>
		</view>
		
		<view class="write-comment">
			<view class="comment-box">
					<image class="input-icon" src='/static/g15.png' style="width: 17upx;height: 19upx; position: absolute; left: 40upx;top:35upx"></image>
					<input type="text" placeholder="     写评论.." class="comment-input" @click="inputData">
					<view class="comment-icon">
						<image src="/static/g12.png" mode="" style="width: 37upx;height: 35upx;"></image>
						<image src="/static/g19.png" mode="" style="width: 37upx;height: 35upx;"></image>
						<image src="/static/g14.png" mode="" style="width: 37upx;height: 35upx;"></image>
						
					</view>
			</view>
			<view class="comment-black">
				
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data(){
			return {
				mainData:[
					{id:1},
					{id:2},
					{id:3},
					{id:4},
					{id:5},
					{id:6}
				]
			}
		},
		methods:{
			inputData(){
				
			}
		}
	}
</script>

<style lang="scss" scoped>
	.content {
		display: flex;
		flex-direction: column;
		.count-number {
			font-size: 22upx;
			font-family: Noto Sans S Chinese;
			font-weight: 400;
			color: #747E8C;
		}
		.header{
			height: 100upx;
			border-bottom: 1px solid #EEEEEE;
			padding-left: 26upx;
			padding-right: 34upx;
			display: flex;
			justify-content: space-between;
			align-items: center;
			
			.header-title{

				font-size: 34upx;
				font-family: Noto Sans S Chinese;
				font-weight: bold;
				color: #272727;
			}
			.header-comment-num {

				font-size: 22upx;
				font-family: Noto Sans S Chinese;
				font-weight: 400;
				color: #666666;
			}
		}
		.main {
			

			padding-right: 34upx;
			margin-top: 20upx;
			display: flex;
			padding-bottom: 20upx;
			border-bottom: 1px solid #F4F4F4;
			.mmain-left{
				flex: 1;
			}
			.main-right {
				flex: 9;
				padding-left: 10upx;
				.main-rheader {
					display: flex;
					justify-content: space-between;
					align-items: center;
					height: 25upx;
					margin-top: 20upx;
					.rheader-title {
						line-height: 25upx;
						font-size: 26upx;
						font-family: Noto Sans S Chinese;
						font-weight: bold;
						color: #272727;
					}
					.rheader-comment {
						margin-left: 300upx;
					}
				}
				.main-body {
					margin-top: 30upx;
					font-size: 31upx;
					font-family: Noto Sans S Chinese;
					font-weight: 400;
					color: #0C0D0F;
				}
				.main-footer {
					margin-top: 40upx;
					display: flex;
					height: 43upx;
					display: flex;
					align-items: center;
					justify-content: space-between;
					.main-footer-reply {
						text-align: center;
						line-height: 43upx;
						width: 87upx;
						height: 43upx;
						background: #F6F6F6;
						border-radius: 22px;
						font-size: 22upx;
						font-family: Noto Sans S Chinese;
						font-weight: 400;
						color: #1F1F1F;
					}
					.main-footer-time {
						font-size: 22upx;
						font-family: Noto Sans S Chinese;
						font-weight: 400;
						color: #929292;
						height: 43upx;
						margin-right: 300upx;
						line-height: 43upx;
					}
						
					.main-footer-icon {
						font-size: 22upx;
						font-family: Noto Sans S Chinese;
						line-height: 43upx;
						font-weight: 400;
						color: #999999;
						height: 43upx;
					}
				}
			}
		}
	
	.write-comment {
		width: 100%;
		height: 163upx;
		background: #FFFFFF;
		border: 1px solid #EEEEEE;
		position: fixed;
		bottom: 0;
		.comment-box {
			height: 55upx;
			margin-top: 21upx;
			margin-left: 24upx;
			display: flex;
			.comment-input {
				width: 436upx;
				height: 55upx;
				background: #F6F6F6;
				border-radius: 29upx;
				font-size: 28upx;
				font-family: Noto Sans S Chinese;
				font-weight: 400;
				color: #585858;
				
			}
			.comment-icon {
				display: flex;
				justify-content: space-around;
				align-items: center;
				width: 300upx;
			}
		}
		.comment-black {
			width: 50%;
			height: 5px;
			background: #1f1f1f;
			border-radius: 5px;
			margin: 40upx auto;
			
		}
	}
	
	}
</style>